package com.sumainfor.pc.market.controller.servicemanger;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.PageUtils;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.market.service.SePactService;
import com.sumainfor.pc.market.service.SePactTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 服务中心经理审核房源合同
 */
@RestController
@RequestMapping("/servicemanger/SePactTemplate")
public class SePactTemplateController implements Serializable {
    @Autowired
    private SePactTemplateService sePactTemplateService;
    /**
     *服务管家审核合同通过
     * @param
     * @return
     */
    @PostMapping("/updateSePactTemplate")
    public JsonResult updateSePactTemplate(@RequestBody Map<String,Object>params){
        return sePactTemplateService.updateSePactTemplate(params);
    }
}
